import {
  request
} from '@/utils/http';
import common from '@/utils/common';
import {
  COMP_ID
} from '@/utils/constant';

// 企业信息
const getCompInfo = (params) => request({data: {compId: common.getComp()[COMP_ID]}}, 'app/comp');

// 在招职位
const getPositions = (params) => request(params, 'app/wxListRecruitment');

// 职位详情
const getRecruitment = (params) => request(params, 'app/recruitment');

module.exports = {
  getCompInfo,
  getPositions,
  getRecruitment
}
